Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MultiRasterSource.from_stac() constructor #2156

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

AdeelH
Copy link
Collaborator

@AdeelH AdeelH commented May 31, 2024

Overview

This PR adds a .from_stac() constructor to MultiRasterSource, as an alternative to XarraySource.from_stac(). This constructor creates a RasterioSource for each asset and puts all raster sources together into a MultiRasterSource.

Checklist

  • Added unit tests, if applicable
  • Updated documentation, if applicable
  • Added needs-backport label if the change should be back-ported to the previous release
  • PR has a name that won't get you publicly shamed for vagueness

Notes

Testing Instructions

See new unit tests.

@AdeelH AdeelH added the needs-backport This PR needs to be backported to release branches label May 31, 2024
@AdeelH AdeelH force-pushed the mrs_stac branch 2 times, most recently from 47109bb to d54c7f9 Compare June 5, 2024 14:34
@AdeelH AdeelH marked this pull request as ready for review June 5, 2024 17:14
@AdeelH AdeelH merged commit b74e30e into azavea:master Jun 5, 2024
2 checks passed
@AdeelH AdeelH deleted the mrs_stac branch July 5, 2024 14:19
@AdeelH AdeelH removed the needs-backport This PR needs to be backported to release branches label Aug 7, 2024
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.10%. Comparing base (4a613e8) to head (f75fe95).
Report is 43 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2156      +/-   ##
==========================================
+ Coverage   90.08%   90.10%   +0.01%     
==========================================
  Files         197      197              
  Lines        9855     9874      +19     
==========================================
+ Hits         8878     8897      +19     
  Misses        977      977              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant